<template>
  <transition name="bounce" mode="out-in">
    <section class="mui-content pd">
      <mh-header headName="美荷介绍"> </mh-header>
      <div class="set-form">
        <div class="set-content">
          美荷介绍
        </div>
      </div>

    </section>
  </transition>
</template>

<script>
  import MhHeader from '@/components/mh-header/mh-header';
  import {MH_API} from "@/api/api";
  export default {
    name: "setting",
    data () {
      return {
        envelope: 5,
        singleReward: 1,
        talentReward: 1
      }
    },
    methods: {
      submit(){
        let self = this;
        MH_API.setMoney({
          hongbao: self.envelope,
          dashang: self.singleReward,
          caiyi: self.talentReward
        }).then(res => {
          if (res.status === 200) {
            mui.toast("设置成功");
            setTimeout(function(){
              self.$router.back(-1);
            }, 1500)
            
          }
          else{
            mui.toast(res.msg)
          }
        })
      }
    },
    components: {
      MhHeader
    }
  }
</script>

<style scoped>
  .set-form{ display: block; background-color: #fff; }
  .set-li{ display: block; }
  .border-top{ border-top: 1rem solid #F2F2F2;}
  .link-li{ display: flex; margin: 0 1.5rem; height: 5rem; justify-content: space-between; align-items: center; font-size: 1.4rem; border-bottom: 1px solid #eee;}
  .link-li .rg{ color: #999; }
  .set-content{ display: block; padding: 2rem 1rem; line-height: 200%; font-size: 1.4rem;}
  .set-content img{ display: block; max-width: 100%; }
</style>
